import { Modal, Button } from "antd";

function AddOrEditForm(props) {
    const { open, handleOpen, handleClose } = props;
    return (
        <div>
            <Button onClick={handleOpen} >open</Button>
            <Modal onCancel={handleClose} title="Add or Edit" open={open}></Modal>
        </div>
    );
}

export default AddOrEditForm;